package org.domon.manager.sys.model;

import java.util.Collections;
import java.util.Date;
import java.util.List;

public class Menu {

	/**
	 * 菜单ID
	 */
	private Integer menuId;

	/**
	 * 菜单名称
	 */
	private String menuName;

	/**
	 * 菜单类型:URL/FOLDER/FUNCTION
	 */
	private String menuType;

	/**
	 * url
	 */
	private String url;

	/**
	 * 父菜单ID
	 */
	private Integer parentMenuId;

	/**
	 * 排序标记
	 */
	private int sort;

	/**
	 * 子菜单
	 */
	private List<Menu> submenuList = Collections.emptyList();

	/**
	 * 图标
	 */
	private String icon;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 创建者
	 */
	private UserInfo creator;

	/**
	 * 创建时间
	 */
	private Date crtTime;

	public Integer getMenuId() {
		return menuId;
	}

	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public List<Menu> getSubmenuList() {
		return submenuList;
	}

	public void setSubmenuList(List<Menu> submenuList) {
		this.submenuList = submenuList;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getParentMenuId() {
		return parentMenuId;
	}

	public void setParentMenuId(Integer parentMenuId) {
		this.parentMenuId = parentMenuId;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public UserInfo getCreator() {
		return creator;
	}

	public void setCreator(UserInfo creator) {
		this.creator = creator;
	}

	public Date getCrtTime() {
		return crtTime;
	}

	public void setCrtTime(Date crtTime) {
		this.crtTime = crtTime;
	}
}
